package model

import "gorm.io/gorm"

type StudentMessage struct {
	gorm.Model
	StudentNumber string `json:"student_number"` //学号
	Read          uint8  `json:"read"`           //消息已读 未读 -1 未读 1已读
	MessageId     int    `json:"message_id"`     //消息id
}

func (s *StudentMessage) TableName() string {
	return "student_message"
}
